#!/bin/sh

echo "install ruby environment"
yum -y install ruby rubygems ruby-devel
echo "set taobao gem source"
gem sources -l
gem sources --remove http://rubygems.org/
gem sources --remove https://rubygems.org/
gem sources -a https://ruby.taobao.org/
gem sources -l
echo "install redis-dump tools"
gem install redis-dump
